﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Migrator.Util;

namespace Migrator.Exceptions
{
    public class UnknownNodeException : ApplicationException
    {
        public UnknownNodeException(IPAddress ipAddress)
            : base("There is node node with IP address " + ipAddress)
        {
            this.ipAddress = ipAddress;
        }

        public UnknownNodeException(MACAddress macAddress)
            : base("There is node node with MAC address " + macAddress)
        {
            this.macAddress = macAddress;
        }

        protected IPAddress ipAddress;
        protected MACAddress macAddress;
    }
}
